package nc.impl.roomnum;

import nc.bs.dao.BaseDAO;
import nc.bs.dao.DAOException;
import nc.itf.hdysc.roomnum.IMemoSave;
import nc.vo.hdysc.crs_memo.MemoVO;

public class MemoSaveImpl implements IMemoSave {
	
	private BaseDAO dao;
	private BaseDAO webDao;

	public void save(MemoVO vo) {
		dao = new BaseDAO();
		webDao = new BaseDAO("web");
		try {
			dao.updateVO(vo);
			webDao.updateVO(vo);
		} catch (DAOException e) {
			e.printStackTrace();
		}
	}
}
